﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/OneColumn.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SharingCenter.Web.User.Contact.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
好友管理
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.clv tbody td{width:25%;}
.avatarthumbcontainer{float:left; width:78px;}
.citem{width:25%;}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
<myuc:GenericTabs ID="GenericTabs1" runat="server" Section="Contact" SelectedItem="1" />
    <h2 class="bb">全部好友</h2>
    <asp:ListView ID="ListView1" runat="server" GroupItemCount="4" DataKeyNames="SeqId">
        <LayoutTemplate>
            <table class="tb-full clv">
                <tr runat="server" id="groupPlaceholder" />
            </table>
        </LayoutTemplate>
        <GroupTemplate>
            <tr>
                <td runat="server" id="itemPlaceholder" />
            </tr>
        </GroupTemplate>
        <ItemTemplate>
            <td class="citem">
                <div class="left">
                    <myuc:ThumbAvatar ID="ThumbAvatar1" runat="server" UserId='<%#Eval("UserIdB") %>' ShowNickName="false" />
                </div>
                <div class="left ctn-p-l">
                    <cc:NickNameLink runat="server" UserId='<%#Eval("UserIdB") %>' ShowOnlineStatus="true"
                     OnlineText="在线" OnlineImageUrl="~/Content/images/icons/lamp_16.png" />
                     <div class="ctn-p-t">
                    <asp:LinkButton CssClass="act" ID="LinkButton1" runat="server" CommandName="DeleteContact" CommandArgument='<%#Eval("UserIdB") %>'>删除</asp:LinkButton>
                         <ajaxctrltool:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" TargetControlID="LinkButton1"
                          ConfirmText="真的要删除这位好友吗？">
                         </ajaxctrltool:ConfirmButtonExtender>
                    </div>
                </div>
            </td>
        </ItemTemplate>
        <EmptyItemTemplate>
            <td class="citem"></td>
        </EmptyItemTemplate>
        <GroupSeparatorTemplate>
            <tr>
                <td colspan="10"><div class="hr1"></div></td>
            </tr>
        </GroupSeparatorTemplate>
    </asp:ListView>
    <div class="hr1"></div>
    <div class="ctn1">
        <span class="nss ns-info"></span>
        <span class="iconlabel">
        <a href="../../Mod/Invite/Default.aspx">现在快点来寻找你MSN上面的好友吧！</a>
        </span>
    </div>
</asp:Content>
